Ext.onReady(
	function(){
		new Ext.Panel({
			renderTo:p1,
			width:400,
			height:300,
			title:"Panel 测试",
			html:"HTML",
			autoScroll:true,
			collapsible:true,
			tbar:[{text:"顶部按钮1",handler:function(){Ext.MessageBox.alert("点击","点击顶部按钮1") } },{text:"顶部按钮2"}],
			bbar:[{text:"底部按钮1"},{text:"底部按钮2"}]
		})
	}
)